<div class="FixedContainer">
	<% form_tag "/user/update/", :id => "profileEdit", :class => "Form StaticForm" do-%>
		<h3>账号设置</h3>
		<ul>
			<li>
				<label>邮箱地址</label>
				<div class="Right"><%= text_field :user, :email%></div>
			</li>
			<li>
				<label>密码</label>
				<div class="Right"><a class="Button WhiteButton Button18" href="/user/password/">修改密码</a></div>
			</li>
			<li>
				<label>昵称</label>
				<div class="Right"><%= text_field :user, :name%></div>
			</li>
			<!--
			<li>
				<label>头像</label>
				<div class="Right"></div>
			</li>
			-->
			<li>
				<label>性别</label>
				<div id="genderOptions" class="Right">
					<ul>
						<li><label for="user_gender_0"><%= radio_button :user, :gender, 0%>男</label></li>
						<li><label for="user_gender_1"><%= radio_button :user, :gender, 1%>女</label></li>
						<li><label for="user_gender_2"><%= radio_button :user, :gender, 2%>保密</label></li>
					</ul>
				</div>
			</li>
			<li>
				<label>关于自己</label>
				<div class="Right"><%= text_area :user, :about, :cols => "54", :rows => "3"%></div>
			</li>
			<li>
				<label>所在城市</label>
				<div class="Right"><%= text_field :user, :location%></div>
			</li>
			<li>
				<label>个人主页</label>
				<div class="Right"><%= text_field :user, :website%></div>
			</li>
		</ul>
		<div class="Submit">
            <button type="submit" class="Button RedButton Button24 userform_submit editpage_submit">保存设置</button>
        </div>
	<% end%>
</div>